import { Ref } from 'vue'

export interface VTableRef extends Ref {
  /**
   * 选中行
   * @param row
   * @param selected
   * @returns
   */
  toggleRowSelection?: (row: any, selected: any) => void

  validate?: () => Promise<boolean>

  getSelectionRows?: () => any[]
}
